package com.kingwang.training.designpattern.chainofresponsibility.bo;

import lombok.Data;

/**
 * 审批人员
 */
@Data
public abstract class ApplicationApprover {
    private ApplicationApprover nextApprover;

    private String name;

    public ApplicationApprover(String name) {
        this.name = name;
    }

    public abstract void handle(LeaveApplication application);
}
